﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="CreateNews.aspx.cs" Inherits="CreateNews" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderVisitor" runat="Server">
    <p style="font-weight: 500; margin-bottom: -5px; text-transform: uppercase">Page Information:</p>
    <table style="width: 100%;">
        <tr>
            <td colspan="2" style="font-weight: bold">
                <asp:Label ID="lblTime" runat="server" Text="time"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 85px">Visistor :</td>
            <td style="font-weight: bold; width: 57%; text-align: left;">
                <asp:Label ID="lblVisistorCount" runat="server" Text="-1"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 85px">Total News:</td>
            <td style="font-weight: bold; text-align: left; width: 57%;">
                <asp:Label ID="lblTotalNews" runat="server" Text="-1"></asp:Label></td>

        </tr>        
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderSideBar" runat="Server">
    <table style="width: 100%;">
        <tr>
            <td>
                <asp:DropDownList ID="ddlChanel" runat="server" Width="100%" AutoPostBack="True" CssClass="dropdownlist">
                    <asp:ListItem>Select...</asp:ListItem>
                    <asp:ListItem>World</asp:ListItem>
                    <asp:ListItem>Entertainment</asp:ListItem>
                    <asp:ListItem>Sport</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:MultiView ID="mvwChannel" runat="server">
                    <asp:View ID="vwChannelWorld" runat="server">
                        <asp:LinkButton ID="lbtnLasterWorld" runat="server" CssClass="link_button">Lastest</asp:LinkButton><br />
                        <asp:LinkButton ID="lbtnMostViewWorld" runat="server" CssClass="link_button">Most Viewed</asp:LinkButton><br />
                        <asp:LinkButton ID="lbtnMostCommentWorld" runat="server" CssClass="link_button">Most Commented</asp:LinkButton><br />
                        <br />                        
                        <asp:TextBox ID="txtSearchWorld" runat="server" Width="100%" TextMode="MultiLine" BorderColor="#f8f8f8" BorderStyle="Solid" PlaceHolder="Search by.."></asp:TextBox><br />
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                            <asp:ListItem>Title</asp:ListItem>
                            <asp:ListItem Selected="True">Author</asp:ListItem>
                        </asp:RadioButtonList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnSearchWorld" runat="server" Text="Search" Width="87px" />
                    </asp:View>
                    <asp:View ID="vwChannelEntertainment" runat="server">
                       <asp:LinkButton ID="LinkButton1" runat="server" CssClass="link_button">Lastest</asp:LinkButton><br />
                        <asp:LinkButton ID="LinkButton2" runat="server" CssClass="link_button">Most Viewed</asp:LinkButton><br />
                        <asp:LinkButton ID="LinkButton3" runat="server" CssClass="link_button">Most Commented</asp:LinkButton><br />
                        <br />                        
                        <asp:TextBox ID="TextBox1" runat="server" Width="100%" TextMode="MultiLine" BorderColor="#f8f8f8" BorderStyle="Solid" PlaceHolder="Search by.."></asp:TextBox><br />
                        <asp:RadioButtonList ID="RadioButtonList2" runat="server">
                            <asp:ListItem>Title</asp:ListItem>
                            <asp:ListItem Selected="True">Author</asp:ListItem>
                        </asp:RadioButtonList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button1" runat="server" Text="Search" Width="87px" />
                    </asp:View>
                    <asp:View ID="vwChannelSport" runat="server">
                        <asp:LinkButton ID="LinkButton4" runat="server" CssClass="link_button">Lastest</asp:LinkButton><br />
                        <asp:LinkButton ID="LinkButton5" runat="server" CssClass="link_button">Most Viewed</asp:LinkButton><br />
                        <asp:LinkButton ID="LinkButton6" runat="server" CssClass="link_button">Most Commented</asp:LinkButton><br />
                        <br />                        
                        <asp:TextBox ID="TextBox2" runat="server" Width="100%" TextMode="MultiLine" BorderColor="#f8f8f8" BorderStyle="Solid" PlaceHolder="Search by.."></asp:TextBox><br />
                        <asp:RadioButtonList ID="RadioButtonList3" runat="server">
                            <asp:ListItem>Title</asp:ListItem>
                            <asp:ListItem Selected="True">Author</asp:ListItem>
                        </asp:RadioButtonList>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button2" runat="server" Text="Search" Width="87px" />
                    </asp:View>
                </asp:MultiView>
            </td>
        </tr>
    </table>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderNews" Runat="Server">
    <table style="width: 100%;">
        <tr>
            <td style="width: 168px">Author name :</td>
            <td colspan="2">
                <asp:TextBox ID="txtAuthor" runat="server" Width="100%"></asp:TextBox>
            </td>            
        </tr>
        <tr>
            <td style="width: 168px">New Title :</td>
            <td colspan="2">
                <asp:TextBox ID="txtTitleNew" runat="server" Width="100%"></asp:TextBox>
            </td>     
        </tr>
        <tr>
            <td style="width: 168px">Channel Type :</td>
            <td colspan="2">
                <asp:DropDownList ID="ddlNewsType" runat="server" AutoPostBack="True" Height="16px" Width="166px">
                    <asp:ListItem>Select..</asp:ListItem>
                    <asp:ListItem>World</asp:ListItem>
                    <asp:ListItem>Entertainment</asp:ListItem>
                    <asp:ListItem>Sport</asp:ListItem>
                </asp:DropDownList>
            </td>     
        </tr>
        <tr>
            <td colspan="3"> Wrapper Content :</td>            
        </tr>
        <tr>
            <td colspan="3">
                <asp:TextBox ID="txtNewContent" runat="server" Width="100%" TextMode="MultiLine" Height="300px"></asp:TextBox>
            </td>            
        </tr>
        <tr>
            <td colspan="3">
                <asp:Button ID="btnCreate" runat="server" Text="Create" Width="84px" OnClick="btnCreate_Click" />
            &nbsp;
                <asp:Button ID="btnRefresh" runat="server" Text="Refresh" Width="84px" />
&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="84px" OnClick="btnCancel_Click"/>
            </td>
        </tr>
    </table>
</asp:Content>

